package com.haircut.project.vo.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
public class SubmitFinanceVo {
    /**
     * id
     *
     */
    @ApiModelProperty("id")
    @NotBlank(message = "id必须填写")
    private String id;
    /**
     * 提交对账备注
     */
    @ApiModelProperty("提交对账备注")
    @NotBlank(message = "提交对账备注必须填写")
    @Length(max = 100,message = "备注必须小于等于100个字符")
    private String submitRemark;
    /**
     * 提交财务类型(1、现金 2、刷卡)
     */
    @ApiModelProperty("提交财务类型(1、现金 2、刷卡)")
    @NotNull(message = "财务类型必须填写")
    private Integer submitFinanceType;
}
